package com.team2.outpatient_sys.pojo;

/**
 * 排班预约名额实体类
 */
public class Appointment {
    private Schedule schedule;
    private Integer appointmentNo;

    public Appointment() {
    }

    public Appointment(Schedule schedule, Integer appointmentNo) {
        this.schedule = schedule;
        this.appointmentNo = appointmentNo;
    }

    public Schedule getSchedule() {
        return schedule;
    }

    public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }

    public Integer getAppointmentNo() {
        return appointmentNo;
    }

    public void setAppointmentNo(Integer appointmentNo) {
        this.appointmentNo = appointmentNo;
    }

    @Override
    public String toString() {
        return "Appointment{" +
                "schedule=" + schedule +
                ", appointmentNo=" + appointmentNo +
                '}';
    }
}
